import request from '@/utils/request'
//获取歌词
export function getSongLyric(id) {
    return request({
        url: '/lyric',
        params: {
            id
        }
    })
}

//获取歌曲详情
export function getSongDetail(ids) {
    return request({
        url: '/song/detail',
        params: {
            ids
        }
    })
}


//相似歌曲
export function getSimiSong(id) {
    return request({
        url: '/simi/song',
        params: {
            id
        }
    })
}

//获取相似歌单
export function getSimiPlaylist(id) {
    return request({
        url: '/simi/playlist',
        params: {
            id
        }
    })
}

//获取相似歌手
export function getSimiArtist(id) {
    return request({
        url: '/simi/artist',
        params: {
            id
        }
    })
}

//获取歌曲url
export function getSongUrl(id) {
    return request({
        url: '/song/url/v1',
        params: {
            id,
            level: 'jymaster'
        }
    })
}